package com.cqjtu.eecs.service.impl;

import com.cqjtu.eecs.entity.RoleUser;
import com.cqjtu.eecs.mapper.RoleUserMapper;
import com.cqjtu.eecs.service.IRoleUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 用户-角色 服务实现类
 * </p>
 *
 * @author     
 * @since 2022-03-04
 */
@Service
public class RoleUserServiceImpl extends ServiceImpl<RoleUserMapper, RoleUser> implements IRoleUserService {
    @Resource
    private RoleUserMapper roleUserMapper;
    @Override
    public Integer deleteRoleUserByUid(Integer uid) {
        return roleUserMapper.deleteRoleUserByUid(uid);
    }
}
